

/*
* Copyright @ 2017 com.iflysse.trains
* crm 下午7:28:53
* All right reserved.
*
*/
	
package com.qf.service;

import java.util.List;

import com.qf.dto.CrmStudentDto;
import com.qf.pojo.CrmRunoff;
import com.qf.pojo.CrmStation;
import com.qf.pojo.CrmStudent;
import com.qf.pojo.PageRunoff;
import com.qf.pojo.PageStation;
import com.qf.pojo.PageStudent;

/**
* @desc: crm
* @descripe:XXXX
* @author: 周锐
* @createTime: 2017年7月27日 下午7:28:53
* @history:
* @version: v1.0

*/

public interface CrmStudentService {
	 void addCrmStudent(CrmStudent student);
     void updateCrmStudent(CrmStudent student);
     CrmStudent findCrmStudentbyId(Long studentId);
     PageStudent findStudentByPage(int page,int size);
     CrmStudentDto findCrmStudentDtobyId(Long studentId);
     void addStation(CrmStation station);
     void updateStation(CrmStation station);
     CrmStation findStationById(Integer stationId);
     PageStation findStationByPage(int page,int size);
     void addRunoff(CrmRunoff runoff);
     CrmRunoff findRunoffById(Integer runOffId);
     int findRunoffCountbyother(Long classId);
     PageRunoff findRunoffByPage(int page,int size);
     int findStudentCountbyother(Long classId );
     int findTransCountbyother(Long classId);
     int findAdvanceCountbyother(Long classId);
     List<CrmStudentDto> findStudentDtobyClassId(Long classId);
     
    
     
}

	